package com.thoughtworks.biblioteca;

/**
 * Concrete Command. This item is used for listing movie catalog.
 */
public class ListMovieCatalogItem extends AbstractMenuItem {
    private MovieLibrary movieLibrary;

    public ListMovieCatalogItem(String itemName) {
        super(itemName);
        movieLibrary = new MovieLibrary();
    }

    @Override
    public void execute() {
        movieLibrary.listMovieCatalogToScreen();
    }

}
